class AppMeta {

    def meta = [
        [
            'app': 'my-springboot-project',
            'jar_path': 'target/my-springboot-project.jar',
            'git': 'https://github.com/xianyu-zwx/temp-springboot-project.git'
        ]        
    ]


    def getMeta(String app) {
        def result = meta.find { value ->

            if (value.app.equals(app)) {
                return value
            }
            return null
        }
        return result
    }

}